package com.net.framework.help.utils;

import android.telephony.TelephonyManager;

import com.net.framework.help.application.BaseApplication;

/**
 * Author：xiaobin.zhang
 * Email：154722566@qq.com
 * Date：2017/3/23 13:55
 * Desc：<--功能描述-->
 */
public class EquipmentUtil {
    private static TelephonyManager telephonyManager;

    /***
     * 获取手机基本信息
     */
    public static TelephonyManager getInfo() {
        if (null == telephonyManager) {
            telephonyManager = (TelephonyManager) BaseApplication.getApplication().getSystemService(BaseApplication.getApplication().TELEPHONY_SERVICE);
        }
        return telephonyManager;
    }
}
